CREATE TABLE [dbo].[DnnProduct_PWSyncDashBoard_LastSyncStatuses]
(
[LastSyncStatusesId] [int] NOT NULL IDENTITY(1, 1),
[DBName] [nvarchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[PWVersion] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[SyncStatsID] [int] NOT NULL,
[PWAP_AppSchemas] [varchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[PWAP_location] [varchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[RunTime] [datetime] NULL,
[Succeeded] [bit] NOT NULL,
[FailedStep] [varchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[FailAt] [datetime] NULL,
[ErrorDetail] [varchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[StepDetails] [nvarchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[DelRec] [int] NULL,
[ModRec] [int] NULL,
[NewRec] [int] NULL,
[Timestamp] [datetime] NOT NULL,
[CAPName] [varchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DnnProduct_PWSyncDashBoard_LastSyncStatuses] ADD CONSTRAINT [PK_DnnProduct_PWSyncDashBoard_LastSyncStatuses] PRIMARY KEY CLUSTERED  ([LastSyncStatusesId]) ON [PRIMARY]
GO
